<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>修改员工信息</title>
    
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/houtai/favicon.ico"> <link href="${pageContext.request.contextPath}/houtai/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/houtai/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/houtai/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/houtai/css/animate.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/houtai/css/style.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>修改员工信息 </h5>
                       
                    </div>
                    <div class="ibox-content">
                      <form class="form-horizontal" action="${pageContext.request.contextPath}/usereditpost" method="post"> 
                        <input type="hidden"  name="id" value="${requestScope.data.id }"  /><br>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">员工号</label>

                                <div class="col-sm-8">
                                    <input type="number" name="username" value="${requestScope.data.username }" readonly  class="form-control">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">姓名</label>
                                <div class="col-sm-8">
                                    <input type="text" name="nickname" placeholder="请输入姓名" value="${requestScope.data.nickname }" class="form-control">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">密码</label>

                                <div class="col-sm-8">
                                    <input type="password"  class="form-control" value="666666" value="${requestScope.data.password }" placeholder="默认666666" readonly name="password">
                                </div>
                            </div>
                            
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">性别
                                   
                                </label>

                                <div class="col-sm-8">
                                   
                                    <div class="radio i-checks">
                                        <label>
                                            <input type="radio" name="sex" value="男" value="${requestScope.data.sex }" > <i></i> 男</label>
                                    </div>
                                    <div class="radio i-checks">
                                        <label>
                                            <input type="radio" name="sex" value="女" value="${requestScope.data.sex }" > <i></i> 女</label>
                                    </div>
                                  
                                </div>
                            </div>
                            <!--<div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">内联复选框</label>

                                <div class="col-sm-10">
                                    <label class="checkbox-inline i-checks">
                                        <input type="checkbox" value="option1">a</label>
                                    <label class="checkbox-inline i-checks">
                                        <input type="checkbox" value="option2">b</label>
                                    <label class="checkbox-inline i-checks">
                                        <input type="checkbox" value="option3">c</label>
                                </div>
                            </div>-->
                              <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">联系方式</label>
                                <div class="col-sm-8">
                                    <input type="text" name="phonenumber" class="form-control" value="${requestScope.data.phonenumber }" placeholder="请输入电话号码，最大长度为11" maxlength="11">
                                </div>
                            </div> 
                            
                              <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">家庭地址</label>
                                <div class="col-sm-8">
                                    <input type="text" class="form-control">
                                </div>
                            </div>
                            
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">部门选择</label>

                                <div class="col-sm-8">
                                    <select class="form-control m-b" name="account">
                                        <option value="">部门 1</option>
                                        <option value="">部门 2</option>
                                        <option value="">部门 3</option>
                                        <option value="">部门 4</option>
                                    </select>

                                  
                                </div>
                            </div> 
                   
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <div class="col-sm-6 col-sm-offset-5">
                                    <input class="btn btn-primary" type="submit" value="确定修改">
                                    
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

  
    <!-- 全局js -->
    <script src="${pageContext.request.contextPath}/houtai/js/jquery.min.js?v=2.1.4"></script>
    <script src="${pageContext.request.contextPath}/houtai/js/bootstrap.min.js?v=3.3.6"></script>

    <!-- 自定义js -->
    <script src="${pageContext.request.contextPath}/houtai/js/content.js?v=1.0.0"></script>

    <!-- iCheck -->
    <script src="${pageContext.request.contextPath}/houtai/js/plugins/iCheck/icheck.min.js"></script>
    <script>
        $(document).ready(function () {
            $('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });
        });
    </script>
		<!-- jQuery Validation plugin javascript-->
    <script src="${pageContext.request.contextPath}/houtai/js/plugins/validate/jquery.validate.min.js"></script>
    <script src="${pageContext.request.contextPath}/houtai/js/plugins/validate/messages_zh.min.js"></script>

    <script src="${pageContext.request.contextPath}/houtai/js/demo/form-validate-demo.js"></script>
    
</body>

</html>
